using System;
using System.Collections.Generic;

using EntModApp.EntServices;
using EntModApp.EntServices.Data;

namespace DemoApp.BusinessLayer 
{
  public partial class DemoAppModelBusinessModelRepository : IDemoAppModelBusinessModelRepository
  {

    private IRoleObjectRepository _Roles;
    public IRoleObjectRepository Roles 
    { 
      get { return _Roles ?? (_Roles = new RoleObjectRepository()); }
    }

    private ISecurableActionObjectRepository _SecurableActions;
    public ISecurableActionObjectRepository SecurableActions 
    { 
      get { return _SecurableActions ?? (_SecurableActions = new SecurableActionObjectRepository()); }
    }

    private IUserObjectRepository _Users;
    public IUserObjectRepository Users 
    { 
      get { return _Users ?? (_Users = new UserObjectRepository()); }
    }

    private IPersonObjectRepository _People;
    public IPersonObjectRepository People 
    { 
      get { return _People ?? (_People = new PersonObjectRepository()); }
    }

    private IGroupObjectRepository _Groups;
    public IGroupObjectRepository Groups 
    { 
      get { return _Groups ?? (_Groups = new GroupObjectRepository()); }
    }

    private ISubjectObjectRepository _Subjects;
    public ISubjectObjectRepository Subjects 
    { 
      get { return _Subjects ?? (_Subjects = new SubjectObjectRepository()); }
    }

    private IFavoriteObjectRepository _Favorites;
    public IFavoriteObjectRepository Favorites 
    { 
      get { return _Favorites ?? (_Favorites = new FavoriteObjectRepository()); }
    }

    private IFavoriteDerivedObjectRepository _FavoritesDerived;
    public IFavoriteDerivedObjectRepository FavoritesDerived 
    { 
      get { return _FavoritesDerived ?? (_FavoritesDerived = new FavoriteDerivedObjectRepository()); }
    }

  }
}
